package com.td.core.obj;

import com.td.core.communication.Sendable;

public abstract class TDObject implements Sendable<TDObject>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private TDPoint position;
	
	private float rotation;
	
	public TDObject(int x, int y) {
		this.position = new TDPoint(x, y);
	}

	public TDPoint getPosition() {
		return position;
	}

	public void setPosition(TDPoint position) {
		this.position = position;
	}
	
	public float getRotation() {
		return rotation;
	}
	
	public void setRotation(float rotation) {
		this.rotation = rotation;
	}
}
